package com.qfedu.mall.service;

import com.qfedu.mall.beans.entity.ShoppingCart;
import com.qfedu.mall.common.vo.ResultVO;

public interface ShoppingCartService {
    ResultVO addShoppingCart(ShoppingCart cart);

    ResultVO listShoppingCartsByUserId(int userId);

    ResultVO updateCartNum(int cartId, int cartNum);

    ResultVO listShoppingCartByCids(String cids);

    ResultVO deleteCartbyCids(String cids);

    ResultVO settlementCart(Integer cartId);
}
